#pragma once
#include "candy.h"
class Lollipops :
	public Candy
{
public:
	Lollipops(void){flavor = "";}
	Lollipops(string name, double price, int number, double customerPrice, string flavor):
		Candy(name, price, number, customerPrice) {this->flavor = flavor;}
	~Lollipops(void);
	void SetFlavour(string &flavor){this->flavor = flavor;}
	string GetFlavour(){return flavor;}
	void Write()
	{
		cout << "Lollipops: ";
		cout << name << ", " << price << ", " << number << ", " << customerPrice << ", " << flavor << endl;
	}
protected:
	string flavor;
};

